package org.pt.dto;



import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.pt.model.Tag;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateWorkDto {

    @Schema(description = "作品名", example = "优质资源")
    private String name;
    @Schema(description = "描述", example = "这是一个优秀作品")
    private String desc;
    @Schema(description = "价格", example = "50")
    private Integer cost;

    private List<String> tags;
}
